package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class WxRegisterResponse extends SecurityResponse<WxRegisterResponse.Body>{

	private static final long serialVersionUID = 1L;

	public WxRegisterResponse(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
		this.body = new Body();
	}
	
	public static class Body implements Serializable {
		
		private static final long serialVersionUID = 1L;
		
		private String memberId;
		private String memberName;
		private String memberFaceImg;
		private String memberPhone;
		private String loginToken;
		private List<String> modules;
		
		public Body() {
			this.modules = new ArrayList<String>();
		}

		public String getMemberId() {
			return memberId;
		}

		public void setMemberId(String memberId) {
			this.memberId = memberId;
		}

		public String getMemberName() {
			return memberName;
		}

		public void setMemberName(String memberName) {
			this.memberName = memberName;
		}

		public String getMemberFaceImg() {
			return memberFaceImg;
		}

		public void setMemberFaceImg(String memberFaceImg) {
			this.memberFaceImg = memberFaceImg;
		}

		public String getLoginToken() {
			return loginToken;
		}

		public void setLoginToken(String loginToken) {
			this.loginToken = loginToken;
		}

		public String getMemberPhone() {
			return memberPhone;
		}

		public void setMemberPhone(String memberPhone) {
			this.memberPhone = memberPhone;
		}

		public List<String> getModules() {
			return modules;
		}

		public void setModules(List<String> modules) {
			this.modules = modules;
		}
	}
}
